https://gitlab.synchro.net/main/sbbs/-/commit/b2b0d6223403a9dfa3807048
Modified Files:
src/sbbs3/sbbs.h str.cpp
Log Message:
sbbs_t::protnum() and protname() now accept the transfer type as argument
It's possible to have multiple transfer protocols with the same mmemonic, but with different transfer types supports (which would be weird, but possible). This allows us to use protnum() to replace a lot of copy/pasted prot looping and comparing logic throughout sbbs.
Also added a variant of sbbs_t::quit_key() that takes and returns a string
(for easy concatenation to strings of key chars).
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net