aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/chan
diff options
context:
space:
mode:
authorGravatar Elvio Basello2008-10-02 17:37:29 +0000
committerGravatar Elvio Basello2008-10-02 17:37:29 +0000
commita828851e114b4e15709efad4d41646992e0ed961 (patch)
tree7a7a55d932ee1211e43ef3ea387eab1bb5387eb4 /src/modules/chan
parentfixed licenses, added doxygen (diff)
downloadKVIrc-a828851e114b4e15709efad4d41646992e0ed961.tar.gz
KVIrc-a828851e114b4e15709efad4d41646992e0ed961.tar.bz2
KVIrc-a828851e114b4e15709efad4d41646992e0ed961.zip
implemented #102;
splitted optw_irc; added doxygen comments; bumped sources date; update ChangeLog and TODO; fixes around; git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2620 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/chan')
-rw-r--r--src/modules/chan/libkvichan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/chan/libkvichan.cpp b/src/modules/chan/libkvichan.cpp
index 855b07bc7..099b14c50 100644
--- a/src/modules/chan/libkvichan.cpp
+++ b/src/modules/chan/libkvichan.cpp
@@ -1012,8 +1012,8 @@ static bool chan_kvs_fnc_limit(KviKvsModuleFunctionCall * c)
{
if(ch->hasChannelLimit())
{
- lim=ch->channelLimit().ptr();
- limit=lim.toInt();
+ lim = ch->channelLimit().toUtf8().data();
+ limit = lim.toInt();
}
c->returnValue()->setInteger(limit);
}