summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
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