Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Minekus committed May 15, 2016
1 parent 74e7656 commit e6134f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/include/ircrelay.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define IRC_REVERSE 22
#define IRC_UNDERLINE 31

#define IRC_VERSION "2.5.2"
#define IRC_VERSION "2.5.3"

enum IrcAccess
{
Expand Down Expand Up @@ -124,7 +124,7 @@ native int IRC_GetTeamCount();
* @param maxlength Maximum length of string buffer.
* @error Invalid team index.
*/
native void IRC_GetTeamName(intindex, char[] name, int maxlength);
native void IRC_GetTeamName(int index, char[] name, int maxlength);

/**
* Returns whether or not the bot is connected to IRC
Expand Down
6 changes: 3 additions & 3 deletions addons/sourcemod/scripting/ircrelay.sp
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ public void OnPluginStart()
g_hOnReceive = CreateGlobalForward("IRC_OnReceive", ET_Ignore, Param_String);

// Create arrays and tries
g_hChannels = new ArrayList(64);
g_hCommands = new ArrayList(64);
g_hChannels = new ArrayList(ByteCountToCells(64));
g_hCommands = new ArrayList(ByteCountToCells(64));
g_hModes = new StringMap();
g_hQueue = new ArrayList(1024);
g_hQueue = new ArrayList(ByteCountToCells(1024));

// Create config parser
g_hConfigParser = new SMCParser();
Expand Down

0 comments on commit e6134f0

Please sign in to comment.