1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 13:56:39 +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:
rburchell
2008-11-21 09:55:32 +00:00
parent 84d9048b21
commit ab85c3fe9b
+6 -4
View File
@@ -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 */