1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00

'/' char shouldn't be used in command() examples.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2855 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-06-15 19:39:40 +00:00 committed by cras
parent 648a43ce14
commit 8856d9fc3d

View File

@ -91,11 +91,11 @@ Here's an example:
}
if ($data) {
$server->command("/MSG $data Hello!");
$server->command("MSG $data Hello!");
} elsif ($witem && ($witem->{type} eq "CHANNEL" ||
$witem->{type} eq "QUERY")) {
# there's query/channel active in window
$witem->command("/MSG ".$witem->{name}." Hello!");
$witem->command("MSG ".$witem->{name}." Hello!");
} else {
Irssi::print("Nick not given, and no active channel/query in window");
}