Remove the session from the IRC event parameters.

Rename the IRC module scope to uppercase.
This commit is contained in:
Sandu Liviu Catalin
2016-05-24 20:51:34 +03:00
parent f05e562708
commit 8ca7f5bfa7
3 changed files with 32 additions and 45 deletions
+1 -1
View File
@@ -314,7 +314,7 @@ void RegisterAPI(HSQUIRRELVM vm)
ircns.Func(_SC("GetHost"), &GetHost);
ircns.Func(_SC("GetErrStr"), &irc_strerror);
RootTable(vm).Bind(_SC("SqIrc"), ircns);
RootTable(vm).Bind(_SC("SqIRC"), ircns);
Sqrat::ConstTable(vm).Enum(_SC("SqIrcErr"), Sqrat::Enumeration(vm)
.Const(_SC("Ok"), LIBIRC_ERR_OK)