diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/extern.h | 7 | ||||
| -rw-r--r-- | include/regchannel.h | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/include/extern.h b/include/extern.h index f64ab78d6..e6005b4e8 100644 --- a/include/extern.h +++ b/include/extern.h @@ -642,7 +642,12 @@ E void SetOperType(NickCore *nc); E SList akills, sglines, sqlines, szlines; E int DefConModesSet; -E ChannelInfo DefConModesCI; +E Flags<ChannelModeName> DefConModesOn; +E Flags<ChannelModeName> DefConModesOff; +E std::map<ChannelModeName, std::string> DefConModesOnParams; +E bool SetDefConParam(ChannelModeName, std::string &); +E bool GetDefConParam(ChannelModeName, std::string *); +E void UnsetDefConParam(ChannelModeName); E void operserv(User *u, char *buf); E void os_init(); diff --git a/include/regchannel.h b/include/regchannel.h index 33908cb3a..b6d380f40 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -69,9 +69,6 @@ class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag> std::bitset<128> mlock_off; /* Modes mlocked off */ public: - // XXX Hack for defcon, though this really isn't needed now and should be destroyed - ChannelInfo() { } - /** Default constructor * @param chname The channel name */ |
