mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05: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:
parent
648a43ce14
commit
8856d9fc3d
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user