aboutsummaryrefslogtreecommitdiffstats
path: root/data/defscript
diff options
context:
space:
mode:
Diffstat (limited to 'data/defscript')
-rw-r--r--data/defscript/default.kvs9
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)