1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 03:36:37 +02:00

Add m_sql_oper

This commit is contained in:
Adam
2012-10-13 00:32:29 -04:00
parent 76a0471c29
commit 4424abd15d
6 changed files with 154 additions and 1 deletions
+3
View File
@@ -431,6 +431,9 @@ void User::Identify(NickAlias *na)
this->SetModes(bi, "%s", this->nc->o->ot->modes.c_str());
if (bi != NULL)
this->SendMessage(bi, "Changing your usermodes to \002%s\002", this->nc->o->ot->modes.c_str());
UserMode *um = ModeManager::FindUserModeByName(UMODE_OPER);
if (um && !this->HasMode(UMODE_OPER) && this->nc->o->ot->modes.find(um->ModeChar) != Anope::string::npos)
ircdproto->SendOper(this);
}
if (ircdproto->CanSetVHost && !this->nc->o->vhost.empty())
{