summaryrefslogtreecommitdiff
path: root/src/modules.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-10-18 21:10:39 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-10-18 21:10:39 +0000
commit0d3ec454de486da5cbc292f7e694ee8ab7e4fae0 (patch)
treebf71bfec70f2f6d3b4110d38d0c2557edbe0908e /src/modules.c
parent12ac162d9e025827339f68bdefa8c4d27b1051e7 (diff)
Fix a few things that bugged me when I was working on one of my own modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2573 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r--src/modules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules.c b/src/modules.c
index 1757cfcef..7eefd0c0a 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -631,7 +631,7 @@ void Module::AddCallBack(Timer *t)
{
it2 = it;
++it2;
-
+
if (!TimerManager::IsTimer(*it))
{
this->CallBacks.erase(it);
@@ -732,7 +732,7 @@ bool moduleMinVersion(int major, int minor, int patch, int build)
return ret;
}
-void Module::NoticeLang(char *source, User * u, int number, ...)
+void Module::NoticeLang(const char *source, User * u, int number, ...)
{
va_list va;
char buffer[4096], outbuf[4096];