diff options
author | Timo Sirainen <cras@irssi.org> | 2002-06-15 19:39:40 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-06-15 19:39:40 +0000 |
commit | 8856d9fc3ddfd86280f2335732d30044fa3931f2 (patch) | |
tree | e00d8061867df3f30576b7c42d5aea94e0f5c120 | |
parent | 648a43ce1421c8b9474d4dfb90d8f669cf1bc83a (diff) | |
download | irssi-8856d9fc3ddfd86280f2335732d30044fa3931f2.zip |
'/' char shouldn't be used in command() examples.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2855 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | docs/perl.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/perl.txt b/docs/perl.txt index 59c05a00..cf390a74 100644 --- a/docs/perl.txt +++ b/docs/perl.txt @@ -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"); } |