diff options
| author | 2006-02-15 20:30:29 +0000 | |
|---|---|---|
| committer | 2006-02-15 20:30:29 +0000 | |
| commit | d5d8a5987b2534b7177f13f99aee3c624fbc233e (patch) | |
| tree | d35b41c58e83a02e38282f5e4a0920fb4173225e /src/channels.cpp | |
| parent | Sped up disabled commands check (diff) | |
| download | inspircd++-d5d8a5987b2534b7177f13f99aee3c624fbc233e.tar.gz inspircd++-d5d8a5987b2534b7177f13f99aee3c624fbc233e.tar.bz2 inspircd++-d5d8a5987b2534b7177f13f99aee3c624fbc233e.zip | |
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/channels.cpp')
| -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()) |
