summaryrefslogtreecommitdiff
path: root/src/modes.cpp
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-04 05:45:58 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-04 05:45:58 +0000
commit2708eea5d13c249143b83fbaa8b552992f0ac8b6 (patch)
tree5afffad5f83ca6daa89784c27f4d4e9c5f4eb8fc /src/modes.cpp
parentf58026749b0c0770a322893b27c013168be5cdbc (diff)
Removed NICKMAX and CHANMAX, replaced user->nick, c->name, and ci->name with std::string
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2732 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modes.cpp')
-rw-r--r--src/modes.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/modes.cpp b/src/modes.cpp
index 9fed6da55..8d4f99d05 100644
--- a/src/modes.cpp
+++ b/src/modes.cpp
@@ -250,7 +250,7 @@ void ChannelModeBan::AddMask(Channel *chan, const char *mask)
}
if (debug)
- alog("debug: Added ban %s to channel %s", mask, chan->name);
+ alog("debug: Added ban %s to channel %s", mask, chan->name.c_str());
}
/** Remove a ban from the channel
@@ -273,8 +273,7 @@ void ChannelModeBan::DelMask(Channel *chan, const char *mask)
entry_delete(chan->bans, ban);
if (debug)
- alog("debug: Deleted ban %s from channel %s", mask,
- chan->name);
+ alog("debug: Deleted ban %s from channel %s", mask, chan->name.c_str());
}
if (chan->ci && (akick = is_stuck(chan->ci, mask)))
@@ -306,7 +305,7 @@ void ChannelModeExcept::AddMask(Channel *chan, const char *mask)
fatal("Creating new exception entry failed");
if (debug)
- alog("debug: Added except %s to channel %s", mask, chan->name);
+ alog("debug: Added except %s to channel %s", mask, chan->name.c_str());
}
/** Remove an except from the channel
@@ -328,7 +327,7 @@ void ChannelModeExcept::DelMask(Channel *chan, const char *mask)
entry_delete(chan->excepts, exception);
if (debug)
- alog("debug: Deleted except %s to channel %s", mask, chan->name);
+ alog("debug: Deleted except %s to channel %s", mask, chan->name.c_str());
}
}
@@ -357,7 +356,7 @@ void ChannelModeInvite::AddMask(Channel *chan, const char *mask)
fatal("Creating new exception entry failed");
if (debug)
- alog("debug: Added invite %s to channel %s", mask, chan->name);
+ alog("debug: Added invite %s to channel %s", mask, chan->name.c_str());
}
@@ -380,8 +379,7 @@ void ChannelModeInvite::DelMask(Channel *chan, const char *mask)
entry_delete(chan->invites, invite);
if (debug)
- alog("debug: Deleted invite %s to channel %s", mask,
- chan->name);
+ alog("debug: Deleted invite %s to channel %s", mask, chan->name.c_str());
}
}