summaryrefslogtreecommitdiff
path: root/include/modes.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-30 19:41:13 -0400
committerAdam <Adam@anope.org>2010-10-30 19:41:13 -0400
commitfb9f41b3e52cfddada7773a65b9723cd3a96b785 (patch)
treebd97f21b4a5098d43f2a680ae09136f3e0ef6bb5 /include/modes.h
parenta7e5d51616363214d391500b2d9d647379fba833 (diff)
Made gettext work on most OSs. Tested on Debian, FreeBSD, Gentoo, and Windows.
Added a search path option to the Config script for cmake to use when finding libraries for modules or for gettext. Fixed m_mysql and m_ssl to work under Windows, made the Windows Config program remember the last used options, and fixed Windows release builds.
Diffstat (limited to 'include/modes.h')
-rw-r--r--include/modes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/modes.h b/include/modes.h
index e938a65c6..0611306e9 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -359,11 +359,11 @@ class StackerInfo
BotInfo *bi;
/** Add a mode to this object
- * @param Mode The mode
+ * @param mode The mode
* @param Set true if setting, false if unsetting
* @param Param The param for the mode
*/
- void AddMode(Base *Mode, bool Set, const Anope::string &Param);
+ void AddMode(Mode *mode, bool Set, const Anope::string &Param);
};
/** This is mode manager
@@ -393,12 +393,12 @@ class CoreExport ModeManager
/** Really add a mode to the stacker, internal use only
* @param bi The client to set the modes from
* @param Object The object, user/channel
- * @param Mode The mode
+ * @param mode The mode
* @param Set Adding or removing?
* @param Param A param, if there is one
* @param Type The type this is, user or channel
*/
- static void StackerAddInternal(BotInfo *bi, Base *Object, Base *Mode, bool Set, const Anope::string &Param, StackerType Type);
+ static void StackerAddInternal(BotInfo *bi, Base *Object, Mode *mode, bool Set, const Anope::string &Param, StackerType Type);
public:
/* List of all modes Anope knows about */