1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 13:36:38 +02:00

Fixed JOIN on plexus & fixed UMODE_NETADMIN

This commit is contained in:
Adam
2011-08-09 18:36:23 -04:00
parent 1ce0199af2
commit 962002b5f5
2 changed files with 16 additions and 3 deletions
+7 -2
View File
@@ -494,8 +494,13 @@ bool event_pong(const Anope::string &source, const std::vector<Anope::string> &p
bool event_tmode(const Anope::string &source, const std::vector<Anope::string> &params)
{
if (params[1][0] == '#' || params[1][0] == '&')
do_cmode(source, params[0], params[1], params[2]);
if (params[1][0] == '#')
{
Anope::string modes = params[2];
for (unsigned i = 3; i < params.size(); ++i)
modes += " " + params[i];
do_cmode(source, params[1], modes, params[0]);
}
return true;
}