rezalas / riftshadow

Dedicated to the preservation of the game and modernization of a classic mud codebase.
MIT License
18 stars 14 forks source link

Refactored function indirect #242

Closed sean-gilliam closed 1 year ago

sean-gilliam commented 1 year ago

This PR removes the do_disc(conn) function since all it did was call mysql_close(conn). This level of indirection isn't needed and obscures the intent of the calling function

All references to this do_disc(conn) are replaced with mysql_close(conn).