diff options
| author | 2010-10-16 15:21:19 +0000 | |
|---|---|---|
| committer | 2010-10-16 15:21:19 +0000 | |
| commit | c64ecad0ee25cb739d236da0e29a988cd88bae94 (patch) | |
| tree | 59ecc67574974a93883f7a1d58852627e2fd1a32 /src/modules/chan | |
| parent | $str.printf: applied patch from #996 and fixed ?f and ?e format strings when ... (diff) | |
| download | KVIrc-c64ecad0ee25cb739d236da0e29a988cd88bae94.tar.gz KVIrc-c64ecad0ee25cb739d236da0e29a988cd88bae94.tar.bz2 KVIrc-c64ecad0ee25cb739d236da0e29a988cd88bae94.zip | |
applied further patches for #996
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5075 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/chan')
| -rw-r--r-- | src/modules/chan/libkvichan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/chan/libkvichan.cpp b/src/modules/chan/libkvichan.cpp index 7d43b9a0c..18870c9af 100644 --- a/src/modules/chan/libkvichan.cpp +++ b/src/modules/chan/libkvichan.cpp @@ -1014,9 +1014,9 @@ static bool chan_kvs_fnc_limit(KviKvsModuleFunctionCall * c) KVSM_PARAMETER("window id",KVS_PT_STRING,KVS_PF_OPTIONAL,szId) KVSM_PARAMETERS_END(c) KviChannel * ch = chan_kvs_find_channel(c,szId); - kvs_int_t limit=0; if (ch) { + kvs_int_t limit=0; if(ch->hasChannelMode('l')) limit = ch->channelModeParam('l').toInt(); c->returnValue()->setInteger(limit); |
