mirror of
https://github.com/anope/anope.git
synced 2026-07-07 01:03:13 +02:00
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
This commit is contained in:
+2
-2
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user