diff options
author | Adam <Adam@anope.org> | 2011-11-17 12:46:18 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-11-17 12:46:18 -0500 |
commit | 69dfc729e99f45f16cab37f81b9f09a659d99a24 (patch) | |
tree | 063d1bba66dcfaece259a91e370919fc1ae77d5c /include/regchannel.h | |
parent | 5281282a61601e9a6b77d129ed97e0509a0474cb (diff) |
Fixed storing mode locks
Diffstat (limited to 'include/regchannel.h')
-rw-r--r-- | include/regchannel.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/regchannel.h b/include/regchannel.h index 3f6c29581..48df1ae7d 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -81,7 +81,7 @@ struct CoreExport BadWord : Serializable Anope::string word; BadWordType type; - BadWord(); + Anope::string serialize_name() const; serialized_data serialize(); static void unserialize(serialized_data &); }; @@ -111,13 +111,13 @@ class CoreExport AutoKick : public Flags<AutoKickFlag>, public Serializable time_t addtime; time_t last_used; + Anope::string serialize_name() const; serialized_data serialize(); static void unserialize(serialized_data &); }; struct CoreExport ModeLock : Serializable { - ModeLock(); public: ChannelInfo *ci; bool set; @@ -128,6 +128,7 @@ struct CoreExport ModeLock : Serializable ModeLock(ChannelInfo *ch, bool s, ChannelModeName n, const Anope::string &p, const Anope::string &se = "", time_t c = Anope::CurTime); + Anope::string serialize_name() const; serialized_data serialize(); static void unserialize(serialized_data &); }; @@ -145,7 +146,7 @@ struct CoreExport LogSetting : Serializable Anope::string creator; time_t created; - LogSetting(); + Anope::string serialize_name() const; serialized_data serialize(); static void unserialize(serialized_data &); }; @@ -204,6 +205,7 @@ class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag, int16_t floodlines, floodsecs; /* For FLOOD kicker */ int16_t repeattimes; /* For REPEAT kicker */ + Anope::string serialize_name() const; serialized_data serialize(); static void unserialize(serialized_data &); |