Skip to content

Commit 0493eb8

Browse files
authored
Merge pull request #104 from MaxLeiter/fix-ctcp
Fix ctcp request type data
2 parents b54df53 + 81a6110 commit 0493eb8

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)