RITlug / teleirc

Go implementation of a Telegram <=> IRC bridge for use with any IRC channel and Telegram group
https://docs.teleirc.com/
GNU General Public License v3.0
141 stars 45 forks source link

ban evasion bug. user can pm the bot and send messages to irc without being in the group #366

Closed randomhydrosol closed 3 years ago

randomhydrosol commented 3 years ago

Summary

A user who isn't part of the group can send messages to the IRC side by privately messaging the bot on telegram

Standard debugging steps

How to reproduce?

message the bot in private on telegram

Expected behavior

Bot should ignore the private message

Screenshots:

Stacktrace

Other details

I haven't tested if the same behaviuor occurs on the IRC side as well