Skip to content

Commit b2c1c57

Browse files
committedApr 10, 2013
chanfix: Fix log message about forced registration despite low score.
Reported by ShutterQuick.
1 parent a7cbdef commit b2c1c57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎modules/chanfix/fix.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,8 @@ void chanfix_can_register(hook_channel_register_check_t *req)
651651
{
652652
slog(LG_INFO, "chanfix_can_register(): forced registration of %s by %s",
653653
req->name,
654-
req->si->smu != NULL ? req->si->smu : "??");
654+
req->si->smu != NULL ?
655+
entity(req->si->smu)->name : "??");
655656
return;
656657
}
657658
req->approved = 1;

0 commit comments

Comments
 (0)