summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-09-11 23:26:46 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-09-11 23:26:46 +0000
commit3f57df52c895a442fa81808afa98761f1739ef8b (patch)
tree159e08e8cd39dcf4fc7a2aba6f0737704f91420b /scripts
parent43201b2e9cc22bd3fb5fd1ccc846bc8a3ec0fb26 (diff)
downloadirssi-3f57df52c895a442fa81808afa98761f1739ef8b.zip
removed the '/' in command()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2915 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'scripts')
-rw-r--r--scripts/autoop.pl2
-rw-r--r--scripts/mlock.pl2
-rw-r--r--scripts/quitmsg.pl2
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/autoop.pl b/scripts/autoop.pl
index d46d099e..f7182999 100644
--- a/scripts/autoop.pl
+++ b/scripts/autoop.pl
@@ -64,7 +64,7 @@ sub autoop {
if (!$temp_opped{$nick} &&
$server->masks_match($masks, $nick, $host)) {
- $channel->command("/op $nick");
+ $channel->command("op $nick");
$temp_opped{$nick} = 1;
}
}
diff --git a/scripts/mlock.pl b/scripts/mlock.pl
index bf2fd002..ed2fe52b 100644
--- a/scripts/mlock.pl
+++ b/scripts/mlock.pl
@@ -113,7 +113,7 @@ sub mlock_check_mode {
}
if ($modecmd ne "") {
- $channel->{server}->command("/mode $channame $modecmd$extracmd");
+ $channel->{server}->command("mode $channame $modecmd$extracmd");
}
}
diff --git a/scripts/quitmsg.pl b/scripts/quitmsg.pl
index 5fd4c6ce..41bddaa8 100644
--- a/scripts/quitmsg.pl
+++ b/scripts/quitmsg.pl
@@ -38,7 +38,7 @@ sub cmd_quit {
close(f);
foreach my $server (Irssi::servers) {
- $server->command("/disconnect ".$server->{tag}." $quitmsg");
+ $server->command("disconnect ".$server->{tag}." $quitmsg");
}
}