diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-24 00:46:53 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-24 00:46:53 +0000 |
| commit | 3ffd9179262242acc01ed93b749aa55a938cf381 (patch) | |
| tree | f199314aa20920c5136206755786413ba5e809c0 /src/botserv.c | |
| parent | 14fc57d24b5b3ed622d0603011d33b06780ca071 (diff) | |
Rewrote arg parsing system, changed lots of std::string*s to std::string&, made --config arg, and made Anope print out a few lines of information when starting
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2833 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/botserv.c')
| -rw-r--r-- | src/botserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/botserv.c b/src/botserv.c index 24321f559..5d4173d20 100644 --- a/src/botserv.c +++ b/src/botserv.c @@ -631,7 +631,7 @@ void bot_join(ChannelInfo * ci) std::string Limit; int limit = 0; - if (ci->c->GetParam(CMODE_LIMIT, &Limit)) + if (ci->c->GetParam(CMODE_LIMIT, Limit)) { limit = atoi(Limit.c_str()); } |
