Fix crashbug for RFC-breaking webservers
Use pass cfg.core directly to IRC client