summaryrefslogtreecommitdiff
path: root/src/modules/m_globops.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-05 20:10:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-05 20:10:53 +0000
commit124be47e0f0e97a113ea394d222479bebf8af1ec (patch)
treef94c158d8157b82dbe30ea1d2a783dbcec9b9ac1 /src/modules/m_globops.cpp
parentc84b3a14008daa1aac09b6f7047c779ebebe945a (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.cpp4
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);
}