diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-04 05:45:58 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-04 05:45:58 +0000 |
| commit | 2708eea5d13c249143b83fbaa8b552992f0ac8b6 (patch) | |
| tree | 5afffad5f83ca6daa89784c27f4d4e9c5f4eb8fc /src/regchannel.cpp | |
| parent | f58026749b0c0770a322893b27c013168be5cdbc (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/regchannel.cpp')
| -rw-r--r-- | src/regchannel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index bbb63a13e..df4d18db6 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -36,7 +36,7 @@ ChannelInfo::ChannelInfo(const std::string &chname) repeattimes = 0; bi = NULL; - strscpy(this->name, chname.c_str(), CHANMAX); + this->name = chname; mlock_on = DefMLockOn; mlock_off = DefMLockOff; @@ -80,7 +80,7 @@ ChannelInfo::~ChannelInfo() } if (debug) - alog("debug: Deleting channel %s", this->name); + alog("debug: Deleting channel %s", this->name.c_str()); if (this->bi) this->bi->chancount--; |
