The Lambda Lab
/
projects
/
lurk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2695c90
)
Added completion and help for whois.
author
plugd
<plugd@thelambdalab.xyz>
Fri, 23 Jul 2021 14:55:23 +0000
(16:55 +0200)
committer
plugd
<plugd@thelambdalab.xyz>
Fri, 23 Jul 2021 14:55:23 +0000
(16:55 +0200)
lurk.el
patch
|
blob
|
history
diff --git
a/lurk.el
b/lurk.el
index
ad4b1e2
..
66517ba
100644
(file)
--- a/
lurk.el
+++ b/
lurk.el
@@
-853,11
+853,12
@@
in which case they match anything.")
("JOIN" "Join one or more channels." lurk-command-join)
("TOPIC" "Set topic for current channel." lurk-command-topic)
("ME" "Display action." lurk-command-me)
("JOIN" "Join one or more channels." lurk-command-join)
("TOPIC" "Set topic for current channel." lurk-command-topic)
("ME" "Display action." lurk-command-me)
- ("VERSION" "Request version of another user's client via CTCP." lurk-command-version)
+ ("VERSION" "Request version of another user's client via CTCP." lurk-command-version
lurk-nick-completions
)
("PART" "Leave channel." lurk-command-part lurk-context-completions)
("QUIT" "Disconnect from current network." lurk-command-quit)
("NICK" "Change nick." lurk-command-nick)
("LIST" "Display details of one or more channels." lurk-command-list)
("PART" "Leave channel." lurk-command-part lurk-context-completions)
("QUIT" "Disconnect from current network." lurk-command-quit)
("NICK" "Change nick." lurk-command-nick)
("LIST" "Display details of one or more channels." lurk-command-list)
+ ("WHOIS" "Ask server for details of nick." nil lurk-nick-completions)
("MSG" "Send private message to user." lurk-command-msg lurk-nick-completions)
("HELP" "Display help on client commands." lurk-command-help lurk-help-completions))
"Table of commands explicitly supported by Lurk.")
("MSG" "Send private message to user." lurk-command-msg lurk-nick-completions)
("HELP" "Display help on client commands." lurk-command-help lurk-help-completions))
"Table of commands explicitly supported by Lurk.")
@@
-1008,7
+1009,7
@@
in which case they match anything.")
(params (if params-str
(split-string params-str nil t)
nil)))
(params (if params-str
(split-string params-str nil t)
nil)))
- (if
command-row
+ (if
(and command-row (elt command-row 2))
(funcall (elt command-row 2) params)
(lurk-send-msg (lurk-msg nil nil (upcase cmd-str) params)))))
(_
(funcall (elt command-row 2) params)
(lurk-send-msg (lurk-msg nil nil (upcase cmd-str) params)))))
(_