diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-04-06 02:25:20 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-04-06 02:25:20 +0000 |
commit | a7b0c26a4c56440e4bc5ddc6d3ecfeb36089dbb2 (patch) | |
tree | ba6da52898a7ce1e157bef549647664c5258fe48 /src/modules/m_opermodes.cpp | |
parent | ec48546cd05136c61f85d669a3dc49a874935a89 (diff) |
Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_opermodes.cpp')
-rw-r--r-- | src/modules/m_opermodes.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/m_opermodes.cpp b/src/modules/m_opermodes.cpp index d99a7ad8a..6bf823d31 100644 --- a/src/modules/m_opermodes.cpp +++ b/src/modules/m_opermodes.cpp @@ -64,12 +64,12 @@ class ModuleModesOnOper : public Module // whenever a user opers, go through the oper types, find their <type:modes>, // and if they have one apply their modes. The mode string can contain +modes // to add modes to the user or -modes to take modes from the user. - for (int j =0; j < Conf->Enumerate("type"); j++) - { - std::string typen = Conf->ReadValue("type","name",j); - if (!strcmp(typen.c_str(),user->oper)) - { - std::string ThisOpersModes = Conf->ReadValue("type","modes",j); + for (int j =0; j < Conf->Enumerate("type"); j++) + { + std::string typen = Conf->ReadValue("type","name",j); + if (!strcmp(typen.c_str(),user->oper)) + { + std::string ThisOpersModes = Conf->ReadValue("type","modes",j); char first = *(ThisOpersModes.c_str()); if ((first != '+') && (first != '-')) ThisOpersModes = "+" + ThisOpersModes; @@ -80,9 +80,9 @@ class ModuleModesOnOper : public Module modes[1] = (char*)ThisOpersModes.c_str(); Srv->SendMode(modes,2,user); } - break; - } - } + break; + } + } } }; |