diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-06-13 15:59:37 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-06-13 15:59:37 +0200 |
commit | c35089b8cfd108ccfb85077f74236e704ba7cf55 (patch) | |
tree | 52401c4466a401ed640aef1fd6d7c653dbe17880 /include | |
parent | 6193243e4b9234ba663bb9f0378490ae0e972826 (diff) |
Make the default ProtocolInterface instance part of class InspIRCd
The protocol module no longer has to delete it on load and construct it on
unload, only assign a new value to ServerInstance->PI
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 17dca94d5..42454f354 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -408,6 +408,10 @@ class CoreExport InspIRCd */ ProtocolInterface* PI; + /** Default implementation of the ProtocolInterface, does nothing + */ + ProtocolInterface DefaultProtocolInterface; + /** Holds extensible for user operquit */ StringExtItem OperQuit; |