X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_park.cpp;h=a5c62da190fda453c81246a062c6aeec66ceea40;hb=9dd72b7003963d868a23da930a91300b49ab4959;hp=7abe31bafd08a78e89f2b5ed98dbdeca86d21cbb;hpb=5d407fb44c759524881712a80febb86b4506ddbf;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_park.cpp b/src/modules/m_park.cpp index 7abe31baf..a5c62da19 100644 --- a/src/modules/m_park.cpp +++ b/src/modules/m_park.cpp @@ -161,11 +161,11 @@ class cmd_unpark : public command_t } } // remove all their old modes - WriteServ(user->fd,"MODE %s -%s",user->nick,user->modes); + WriteServ(user->fd,"MODE %s -%s",user->nick,user->FormatModes()); // now, map them to the parked user, while nobody can see :p Srv->PseudoToUser(user,unpark,"Unparked to "+std::string(parameters[0])); // set all their new modes - WriteServ(unpark->fd,"MODE %s +%s",unpark->nick,unpark->modes); + WriteServ(unpark->fd,"MODE %s +%s",unpark->nick,unpark->FormatModes()); // spool their away log to them WriteServ(unpark->fd,"NOTICE %s :*** You are now unparked. You have successfully taken back the nickname and privilages of %s.",unpark->nick,unpark->nick); for (awaylog::iterator i = awy->begin(); i != awy->end(); i++)