From: brain Date: Mon, 25 Apr 2005 04:19:11 +0000 (+0000) Subject: Optimised SQL X-Git-Tag: v2.0.23~10482 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=9e9a13dc28025d4649df7b971ecf2c85a3495d72;p=user%2Fhenk%2Fcode%2Finspircd.git Optimised SQL git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1184 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/modules/extra/m_sqllog.cpp b/src/modules/extra/m_sqllog.cpp index f387e5a18..55343e96d 100644 --- a/src/modules/extra/m_sqllog.cpp +++ b/src/modules/extra/m_sqllog.cpp @@ -214,7 +214,9 @@ class ModuleSQLLog : public Module virtual int OnPreCommand(std::string command, char **parameters, int pcnt, userrec *user) { if ((command == "GLINE") || (command == "KLINE") || (command == "ELINE") || (command == "ZLINE")) - AddLogEntry(LT_XLINE,user->nick,parameters[0],user->server); + { + AddLogEntry(LT_XLINE,user->nick,command[0]+std::string(":")+std::string(parameters[0]),user->server); + } return 0; }