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
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);
}