mirror of
https://github.com/anope/anope.git
synced 2026-06-28 05:36:38 +02:00
Fix ident changing being broken
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1769 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -619,13 +619,15 @@ class InspIRCdProto : public IRCDProto
|
||||
/* CHGIDENT */
|
||||
void inspircd_cmd_chgident(const char *nick, const char *vIdent)
|
||||
{
|
||||
if (has_chgidentmod == 1)
|
||||
if (has_chgidentmod == 0)
|
||||
{
|
||||
ircdproto->SendGlobops(s_OperServ, "CHGIDENT not loaded!");
|
||||
}
|
||||
|
||||
BotInfo *bi = findbot(s_OperServ);
|
||||
send_cmd(bi->uid, "CHGIDENT %s %s", nick, vIdent);
|
||||
else
|
||||
{
|
||||
BotInfo *bi = findbot(s_OperServ);
|
||||
send_cmd(bi->uid, "CHGIDENT %s %s", nick, vIdent);
|
||||
}
|
||||
}
|
||||
|
||||
/* SVSHOLD - set */
|
||||
|
||||
Reference in New Issue
Block a user