src/irc: Fix segfault on null source for a line