diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-15 20:30:29 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-15 20:30:29 +0000 |
commit | d5d8a5987b2534b7177f13f99aee3c624fbc233e (patch) | |
tree | d35b41c58e83a02e38282f5e4a0920fb4173225e /src | |
parent | 8bf40d57296b0775414f087f4c57a1c37bc9a58a (diff) |
Moved custom_mode_params to per-channel
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3223 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/channels.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 8e5917d85..9335fe251 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -66,7 +66,7 @@ extern chan_hash chanlist; using namespace std; -std::vector<ModeParameter> custom_mode_params; +//std::vector<ModeParameter> custom_mode_params; chanrec* ForceChan(chanrec* Ptr,ucrec &a,userrec* user, int created); @@ -139,7 +139,6 @@ bool chanrec::IsCustomModeSet(char mode) return (strchr(this->custom_modes,mode)); } -/* XXX - would it not be better to store a vector for each channel, rather than one huge list? -- w00t */ std::string chanrec::GetModeParameter(char mode) { if (custom_mode_params.size()) |