summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/perl.txt4
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");
}