diff options
Diffstat (limited to 'src/modules/chan/libkvichan.cpp')
| -rw-r--r-- | src/modules/chan/libkvichan.cpp | 4 |
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); } |
