diff options
| author | 2007-02-18 10:58:45 +0000 | |
|---|---|---|
| committer | 2007-02-18 10:58:45 +0000 | |
| commit | b25d1cfede852b5a47b4fc14c8dd5bd402559639 (patch) | |
| tree | eb47b69593c0c080afa53f2a9a50effca8437f82 /data | |
| parent | *AUTOMATICALLY* updated KVI_SOURCES_DATE variable (diff) | |
| download | KVIrc-b25d1cfede852b5a47b4fc14c8dd5bd402559639.tar.gz KVIrc-b25d1cfede852b5a47b4fc14c8dd5bd402559639.tar.bz2 KVIrc-b25d1cfede852b5a47b4fc14c8dd5bd402559639.zip | |
fixed hop command to handle channel key correctly
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@346 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'data')
| -rw-r--r-- | data/defscript/default.kvs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/data/defscript/default.kvs b/data/defscript/default.kvs index 12eaada09..23f1e146d 100644 --- a/data/defscript/default.kvs +++ b/data/defscript/default.kvs @@ -738,8 +738,10 @@ alias(hs) alias(hop) { %chan=$0 + %key= if(!%chan){ %chan=$chan.name($active) + %key=$chan.key if($channel(%chan)) part --keep %chan $option(stringPartMessage) } else { @@ -747,8 +749,8 @@ alias(hop) part --keep %chan $option(stringPartMessage) } - join %chan -} + join %chan %key + } # The toolbars that previously were in the core :) @@ -1458,8 +1460,7 @@ defpopup(channelpopup) { item($tr("&Join") $0,145) { - if($channel($0)) part --keep $0 $option(stringPartMessage) - join $0 + hop $0 } item($tr("&Part") $0,40) |
