summaryrefslogtreecommitdiff
path: root/include/regchannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/regchannel.h')
-rw-r--r--include/regchannel.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/regchannel.h b/include/regchannel.h
index c094ac2af..33908cb3a 100644
--- a/include/regchannel.h
+++ b/include/regchannel.h
@@ -69,7 +69,17 @@ class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag>
std::bitset<128> mlock_off; /* Modes mlocked off */
public:
- ChannelInfo();
+ // XXX Hack for defcon, though this really isn't needed now and should be destroyed
+ ChannelInfo() { }
+
+ /** Default constructor
+ * @param chname The channel name
+ */
+ ChannelInfo(const std::string &chname);
+
+ /** Default destructor
+ */
+ ~ChannelInfo();
ChannelInfo *next, *prev;
char name[CHANMAX];