summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-04-25 03:16:57 -0400
committerAdam <Adam@anope.org>2011-05-16 04:07:56 -0400
commit076ebafa1b4cc935c466c615b94eaac415af9a67 (patch)
treedbc8b0f9e7b6f954569c13ad35598f5ebe8a081d /include/users.h
parent6922bd239c778e8f6f2081476ce20b9426c515ad (diff)
Moved some global functions to be member functions and misc cleanup
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index dcfe219bf..fd6600326 100644
--- a/include/users.h
+++ b/include/users.h
@@ -284,6 +284,12 @@ class CoreExport User : public Extensible
* @return true or false
*/
bool IsProtected() const;
+
+ /** Kill a user
+ * @param source The user/server doing the kill
+ * @param reason The reason for the kill
+ */
+ void Kill(const Anope::string &source, const Anope::string &reason);
};
#endif // USERS_H