From 9e9a13dc28025d4649df7b971ecf2c85a3495d72 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 25 Apr 2005 04:19:11 +0000 Subject: Optimised SQL git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1184 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqllog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules') 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; } -- cgit v1.2.3