diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-08-28 11:00:02 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-08-28 11:00:02 -0400 |
commit | 4cc660432675bdbb67018aa27f3b1ea896918dce (patch) | |
tree | 796ed6de01cbfac5bb8b00f9e0e4ef60d42d354c /include/channels.h | |
parent | 5fbe0c845c00161fd62e1f2f65354553f42ef831 (diff) |
Changed Channel's BanData C-style linked list to std::list, got rid of shadowed variables in channels.cpp.
Diffstat (limited to 'include/channels.h')
-rw-r--r-- | include/channels.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/channels.h b/include/channels.h index 7a02b3d6b..d1e82fa8d 100644 --- a/include/channels.h +++ b/include/channels.h @@ -77,7 +77,7 @@ class CoreExport Channel : public Extensible, public Flags<ChannelFlags> * @param name The channel name * @param ts The time the channel was created */ - Channel(const Anope::string &name, time_t ts = time(NULL)); + Channel(const Anope::string &nname, time_t ts = time(NULL)); /** Default destructor */ @@ -97,7 +97,7 @@ class CoreExport Channel : public Extensible, public Flags<ChannelFlags> /* List of users in the channel */ CUserList users; - BanData *bd; + std::list<BanData *> bd; time_t server_modetime; /* Time of last server MODE */ time_t chanserv_modetime; /* Time of last check_modes() */ |