diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-05 20:10:53 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-05 20:10:53 +0000 |
commit | 124be47e0f0e97a113ea394d222479bebf8af1ec (patch) | |
tree | f94c158d8157b82dbe30ea1d2a783dbcec9b9ac1 /src/modules/m_globops.cpp | |
parent | c84b3a14008daa1aac09b6f7047c779ebebe945a (diff) |
Added extra command logging
Improved m_globops to give the sender details in the message
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@395 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_globops.cpp')
-rw-r--r-- | src/modules/m_globops.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp index 85b1b206e..fc8cebaa7 100644 --- a/src/modules/m_globops.cpp +++ b/src/modules/m_globops.cpp @@ -12,10 +12,10 @@ Server *Srv; void handle_globops(char **parameters, int pcnt, userrec *user) { - std::string line = ""; + std::string line = "*** GLOBOPS - From " + std::string(user->nick) + ": "; for (int i = 0; i < pcnt; i++) { - line = line + string(parameters[i]) + " "; + line = line + std::string(parameters[i]) + " "; } Srv->SendToModeMask("og",WM_AND,line); } |