Skip to content

Commit

Permalink
fix: rename delete function name
Browse files Browse the repository at this point in the history
  • Loading branch information
jdomingu98 committed May 7, 2024
1 parent 0009c4a commit f7dae48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/Server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class Server {

public:
~Server();
static void delete();
static void deleteServer();

// Singleton Pattern
static void init(std::string port, std::string password);
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ int main(int argc, char **argv) {
} catch (IRCException &e) {
std::cerr << e.what() << '\n';
}
Server::delete();
Server::deleteServer();
return SUCCESS;
}

0 comments on commit f7dae48

Please sign in to comment.