Skip to content

Commit 81a6110

Browse files
author
Max Leiter
committed
Fix ctcp request type data
1 parent b54df53 commit 81a6110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/handlers/messaging.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ var handlers = {
104104
hostname: command.hostname,
105105
target: target,
106106
group: target_group,
107-
type: (ctcp_command || [null])[0],
107+
type: ctcp_command || null,
108108
message: message.substring(1, message.length - 1),
109109
time: time,
110110
account: command.getTag('account')

0 commit comments

Comments
 (0)