Azelphur/SourceIRC — pull request #3 by Krenair (2014-10-03 22:17:28+00:00)
Title: Fix off by one in sourceirc-rcon

Off by one error. When the index l is equal to the length of the array linecount, lines[l] will be out of bounds. The highest valid index will be length - 1.

I think rcon to trade has died.
hmm
Ew, wtf?
it broke when I typed 'maps *'
L 10/03/2014 - 15:46:25: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/03/2014 - 15:46:25: [SM] Displaying call stack trace for plugin "SourceIRC/sourceirc-rcon.smx":
L 10/03/2014 - 15:46:25: [SM] [0] Line 104, scripting/SourceIRC/sourceirc-rcon.sp::OnSocketReceive()