From 124be47e0f0e97a113ea394d222479bebf8af1ec Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 5 Apr 2004 20:10:53 +0000 Subject: 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 --- src/modules/m_globops.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') 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); } -- cgit v1.2.3