summaryrefslogtreecommitdiff
path: root/include/bots.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-14 18:50:22 -0400
committerAdam <Adam@anope.org>2011-08-14 18:50:22 -0400
commit960c339a4ccb1be522ec800d9143d30db8ac7001 (patch)
tree6cf9bde695f498f5c2db5b58f97c9733e085a3e7 /include/bots.h
parentfddb2304c6a05559b4d2c550885646dc2e77e875 (diff)
Brought back the old 1.7 behavior of a level -1 matching all users and 0 matching all identified users
Diffstat (limited to 'include/bots.h')
-rw-r--r--include/bots.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/bots.h b/include/bots.h
index 399ba3ea1..f5b4c528a 100644
--- a/include/bots.h
+++ b/include/bots.h
@@ -48,8 +48,9 @@ class CoreExport BotInfo : public User, public Flags<BotFlag, BI_END>
* @param user The ident to give the bot.
* @param host The hostname to give the bot.
* @param real The realname to give the bot.
+ * @param bmodes The modes to give the bot.
*/
- BotInfo(const Anope::string &nick, const Anope::string &user = "", const Anope::string &host = "", const Anope::string &real = "", const Anope::string &modes = "");
+ BotInfo(const Anope::string &nick, const Anope::string &user = "", const Anope::string &host = "", const Anope::string &real = "", const Anope::string &bmodes = "");
/** Destroy a bot, clearing up appropriately.
*/