We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ff606f commit ea693c4Copy full SHA for ea693c4
scheme_libs/privmsg.scm
@@ -15,7 +15,7 @@
15
(send-action (get-channel) text))
16
17
(define (get-channel)
18
- (car (get-message-params)))
+ (if (string-prefix? "#" (car (get-message-params))) (car (get-message-params)) (get-nick)))
19
20
(define (get-text)
21
(cadr (get-message-params)))
0 commit comments