summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-02-14 00:28:41 -0500
committerAdam <Adam@anope.org>2013-02-14 01:20:18 -0500
commit7656c25e38529013e53bd9e95a3060d3baf1f8f2 (patch)
treecb4d48db62935463405d7a2998703f9849244cd1 /include/channels.h
parent5cf1edeb6efe6277f5674e0647f2c9c091346ddc (diff)
Made chanserv/unban with no parameters unban you in every channel you have access in
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h
index b66dc1c3d..06132a32f 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -277,8 +277,9 @@ class CoreExport Channel : public Base, public Extensible
/** Unbans a user from this channel.
* @param u The user to unban
* @param full Whether or not to match using the user's real host and IP
+ * @return whether or not a ban was removed
*/
- void Unban(const User *u, bool full = false);
+ bool Unban(const User *u, bool full = false);
/** Finds a channel
* @param name The channel to find