File tree Expand file tree Collapse file tree
addons/sourcemod/scripting Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414#define IRC_REVERSE 22
1515#define IRC_UNDERLINE 31
1616
17- #define IRC_VERSION " 2.5.2 "
17+ #define IRC_VERSION " 2.5.3 "
1818
1919enum IrcAccess
2020{
@@ -124,7 +124,7 @@ native int IRC_GetTeamCount();
124124 * @param maxlength Maximum length of string buffer.
125125 * @error Invalid team index.
126126 */
127- native void IRC_GetTeamName (intindex , char [] name , int maxlength );
127+ native void IRC_GetTeamName (int index , char [] name , int maxlength );
128128
129129/* *
130130 * Returns whether or not the bot is connected to IRC
Original file line number Diff line number Diff line change @@ -115,10 +115,10 @@ public void OnPluginStart()
115115 g_hOnReceive = CreateGlobalForward (" IRC_OnReceive" , ET_Ignore , Param_String );
116116
117117 // Create arrays and tries
118- g_hChannels = new ArrayList (64 );
119- g_hCommands = new ArrayList (64 );
118+ g_hChannels = new ArrayList (ByteCountToCells ( 64 ) );
119+ g_hCommands = new ArrayList (ByteCountToCells ( 64 ) );
120120 g_hModes = new StringMap ();
121- g_hQueue = new ArrayList (1024 );
121+ g_hQueue = new ArrayList (ByteCountToCells ( 1024 ) );
122122
123123 // Create config parser
124124 g_hConfigParser = new SMCParser ();
You can’t perform that action at this time.
0 commit comments