diff options
| author | 2005-04-25 04:19:11 +0000 | |
|---|---|---|
| committer | 2005-04-25 04:19:11 +0000 | |
| commit | 9e9a13dc28025d4649df7b971ecf2c85a3495d72 (patch) | |
| tree | 3ccf74c0a9f0e0d06e684f5f9c91e4f9b5bc51df /src/modules | |
| parent | Fixed strange leading ":" on remote Z/K/G lines (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.cpp | 4 |
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; } |
