eggheads / eggdrop

The Eggdrop IRC Bot
GNU General Public License v2.0
510 stars 84 forks source link

Code duplication #1612

Open michaelortmann opened 5 months ago

michaelortmann commented 5 months ago

https://github.com/eggheads/eggdrop/blob/d58f56347a16947757a0112715b13561f49fb539/src/cmds.c#L906-L913

https://github.com/eggheads/eggdrop/blob/d58f56347a16947757a0112715b13561f49fb539/src/cmds.c#L1264-L1268

src/mod/server.mod/server.c](https://github.com/eggheads/eggdrop/blob/d58f56347a16947757a0112715b13561f49fb539/src/tcluser.c#L411-L420)

The code is slightly different but looks like it does the very same and should be de-duplicated.