Skip to content
Permalink
Browse files

Mark pseudoclients as bots on InspIRCd if the bot mode exists.

  • Loading branch information...
SaberUK committed Mar 30, 2019
1 parent 34f65e3 commit f6ee88c42a738d879dd3bb9708c880911ce6dd8d
Showing with 3 additions and 0 deletions.
  1. +3 −0 modules/protocol/inspircd20.cpp
@@ -562,7 +562,10 @@ struct IRCDMessageCapab : Message::Capab
UserMode *um = NULL;

if (modename.equals_cs("bot"))
{
um = new UserMode("BOT", modechar[0]);
IRCD->DefaultPseudoclientModes += modechar;
}
else if (modename.equals_cs("callerid"))
um = new UserMode("CALLERID", modechar[0]);
else if (modename.equals_cs("cloak"))

0 comments on commit f6ee88c

Please sign in to comment.
You can’t perform that action at this time.