tcpircbot: fix multiple unreferenced var errors

The "few unrelated touch-ups" of commit I0e0209e were broken in multiple
ways, throwing errors because of missing dependencies.

Attempt to fix those while keeping the original commit's rationale of
removing useless parameters that noone would ever customize.

Change-Id: If6379f5c2fedd54460494b98392e4f6d96d8ef8b