summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-25 04:19:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-25 04:19:11 +0000
commit9e9a13dc28025d4649df7b971ecf2c85a3495d72 (patch)
tree3ccf74c0a9f0e0d06e684f5f9c91e4f9b5bc51df /src/modules
parentfd8514f21d31ed03a973b4f5c43bb15696ce7d4a (diff)
Optimised SQL
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1184 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_sqllog.cpp4
1 files changed, 3 insertions, 1 deletions
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;
}