summaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-13 00:32:29 -0400
committerAdam <Adam@anope.org>2012-10-13 00:37:10 -0400
commit4424abd15d32c819ca22a7c49c4380895527e337 (patch)
treed34c183bdd9244afca9c8de3730c3b3d5ed8105a /include/protocol.h
parent76a0471c291d2b8045b52ec8e9d683a38bff47ff (diff)
Add m_sql_oper
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/protocol.h b/include/protocol.h
index d4ff79082..4da0b5b3a 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -120,6 +120,11 @@ class CoreExport IRCDProto
* On most TS6 IRCds this is a SJOIN with no nick
*/
virtual void SendChannel(Channel *c) { }
+
+ /** Make the user an IRC operator
+ * Normally this is a simple +o, though some IRCds require us to send the oper type
+ */
+ virtual void SendOper(User *u);
};
enum IRCDMessageFlag